Should I use Base64 encoding or byte[] for returning binary data in .NET web service

Posted by TigerShark on Stack Overflow See other posts from Stack Overflow or by TigerShark
Published on 2010-03-26T08:13:34Z Indexed on 2010/03/26 8:33 UTC
Read the original article Hit count: 431

Filed under:
|
|
|
|

I have a simple question. Should I return a byte-array or simply base64 encode my binary data, when exposing it through a web service in .NET? Is there any pros/cons with either method, which is mostly supported etc.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about web-services